package Package.Test.Test3;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;

public class Test3 {
    public static final void Test3(){
        HashMap<Integer, ArrayList<String>> hm=new HashMap<Integer, ArrayList<String>>();
        ArrayList<String> array =new ArrayList<String>();
        array.add("ChangCun");
        array.add("YangYinTao");
        hm.put(100001,array);
        ArrayList<String> array2 =new ArrayList<String>();
        array2.add("ChangCun");
        array2.add("YangYinTao");
        hm.put(100002,array2);
        ArrayList<String> array3 =new ArrayList<String>();
        array3.add("ChangCun");
        array3.add("YangYinTao");
        hm.put(100003,array3);
        Set<Integer> hs=hm.keySet();
        for (Integer key:hs
             ) {
            System.out.println(hm.get(key));
        }
    }
}
